package com.ym.medical.enums;

/**
 * 微信交易状态
 */
public enum WxTdStateEnum {
    SUCCESS("SUCCESS", "支付成功"),
    REFUND("REFUND", "转入退款"),
    NOTPAY("NOTPAY", "未支付"),
    CLOSED("CLOSED", "已关闭"),
    REVOKED("REVOKED","已撤销（付款码支付）"),
    USERPAYING("USERPAYING","用户支付中（付款码支付）"),
    PAYERROR("PAYERROR","支付失败(其他原因，如银行返回失败)"),
    //--------------------end-------------------
    ;

    private String key;

    private String value;

    WxTdStateEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
